package main

import "fmt"

func square(n int64) func() int64 {
	return func() int64 {
		n *= n
		return n

	}
}
func main() {
	f := square(2)
	for i := 0; i < 5; i++ {
		fmt.Println(f())
	}
	
}
